from DataManagement.models import CodeModel
from django.db import models


class Zzmmdm(CodeModel):
    value = models.CharField(primary_key=True, max_length=32, verbose_name='标准政治面貌代码')
    label = models.CharField(max_length=255, blank=True, null=True, verbose_name='标准政治面貌注释')
    value1 = models.CharField(max_length=32, blank=True, null=True, verbose_name='教务系统政治面貌代码')
    label1 = models.CharField(max_length=255, blank=True, null=True, verbose_name='教务系统政治面貌注释')
    value2 = models.CharField(max_length=32, blank=True, null=True, verbose_name='人事系统政治面貌代码')
    label2 = models.CharField(max_length=255, blank=True, null=True, verbose_name='人事系统政治面貌注释')
    value3 = models.CharField(max_length=32, blank=True, null=True, verbose_name='科研系统政治面貌代码')
    label3 = models.CharField(max_length=255, blank=True, null=True, verbose_name='科研系统政治面貌注释')
    remarks = models.CharField(max_length=255, blank=True, null=True, verbose_name='备注')
    create_by = models.CharField(max_length=64, blank=True, null=True, verbose_name='创建人')
    create_date = models.CharField(max_length=8, blank=True, null=True, verbose_name='创建时间')
    update_by = models.CharField(max_length=64, blank=True, null=True, verbose_name='更新人')
    update_date = models.CharField(max_length=8, blank=True, null=True, verbose_name='更新时间')
    del_flag = models.IntegerField(blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'zzmmdm'
        verbose_name = '政治面貌代码表'
        verbose_name_plural = '政治面貌代码表'
